package cn.fl.ref.basicarchivesinfo.service;

import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.ref.basicarchivesinfo.vo.BasicArchivesInfoVO;

public interface IBasicArchivesInfoService {

	
//	public List<BasicArchivesInfoVO> getArchivesList()throws BaseException;
	
	/**
	 * 分页查询所有
	 * @param page
	 * @return
	 */
	public Pager searchListPage(Pager page) throws BaseException; 
	
	/**
	 * 新增
	 * @param vo
	 * @return
	 * @throws BaseException
	 */
	public Long add(BasicArchivesInfoVO vo) throws BaseException; 
	
	/**
	 * 获取唯一对象
	 * 
	 * @param id 主键
	 * @return 对象VO
	 */
	public BasicArchivesInfoVO selectById(Long id, String sysCd, String orgCd) throws BaseException;
	
	/**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(BasicArchivesInfoVO entity) throws BaseException;
    
    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id) throws BaseException;
    
}
